package com.wish.blessingroad.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wish.blessingroad.entity.User;
import com.wish.blessingroad.entity.returnBean.InviteUser;

import java.util.List;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author dhc
 * @since 2019-02-18
 */
public interface IUserService extends IService<User> {
    /**
     * 微信登录
     */
    public String addUser(User user);
    public String updateUser(User user);
    public IPage<User> listSelectLambda(User user,int num,int pageSize);
    public List<InviteUser> getUserFree(int id);
    public User getByOpenId(String openid);
    public User getUserById(String id);
}
